package com.yitao.cms.dto.cashCoupons;

import com.skipper.base.dto.BaseDto;
import com.yitao.cms.utils.NumberUtil;
import com.yitao.cms.vo.product.ProductOperationCategoryVo;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @Author: wwl
 * @Date: 2020/3/13 22:00
 * @Description:
 */
public class CashCouponsProductListDto extends BaseDto {
    @ApiModelProperty("商品Id")
    private Long id;
    /**
     * 商品code
     */
    @ApiModelProperty("商品code")
    private String productCode;



    /**
     * 商品名称
     */
    @ApiModelProperty("商品名称")
    private String productName;

    /**
     * 商品简述
     */
    @ApiModelProperty("商品简述")
    private String productDescription;



    /**
     * 市场价
     */
    @ApiModelProperty("市场价")
    private Long markerPrice;
    @ApiModelProperty("市场价(元)")
    private Double markerPriceYuan;


    /**
     * 售价
     */
    @ApiModelProperty("售价")
    private Long salesPrice;

    @ApiModelProperty("售价(元)")
    private Double salesPriceYuan;

    /**
     * 所属门店
     */
    @ApiModelProperty("所属门店")
    private Long shopId;



    /**
     * 是否上架 0 否 1 是
     */
    @ApiModelProperty("是否上架 0 否 1 是")
    private Boolean isSale;

    /**
     * 商品主图
     */
    @ApiModelProperty("商品主图")
    private String productMainImgUrl;


    /**
     * 库存数量
     */
    @ApiModelProperty("库存数量")
    private Long inventory;
    /**
     * 库存
     */
    @ApiModelProperty("最后修改时间")
    private Date lastUpdateTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getProductDescription() {
        return productDescription;
    }

    public void setProductDescription(String productDescription) {
        this.productDescription = productDescription;
    }

    public Long getMarkerPrice() {
        return markerPrice;
    }

    public void setMarkerPrice(Long markerPrice) {
        this.markerPrice = markerPrice;
    }

    public Double getMarkerPriceYuan() {
        return NumberUtil.centToYuanForDouble(markerPrice);
    }

    public void setMarkerPriceYuan(Double markerPriceYuan) {
        this.markerPriceYuan = markerPriceYuan;
    }

    public Long getSalesPrice() {
        return salesPrice;
    }

    public void setSalesPrice(Long salesPrice) {
        this.salesPrice = salesPrice;
    }

    public Double getSalesPriceYuan() {
        return NumberUtil.centToYuanForDouble(salesPrice);
    }

    public void setSalesPriceYuan(Double salesPriceYuan) {
        this.salesPriceYuan = salesPriceYuan;
    }

    public Long getShopId() {
        return shopId;
    }

    public void setShopId(Long shopId) {
        this.shopId = shopId;
    }

    public Boolean getSale() {
        return isSale;
    }

    public void setSale(Boolean sale) {
        isSale = sale;
    }

    public String getProductMainImgUrl() {
        return productMainImgUrl;
    }

    public void setProductMainImgUrl(String productMainImgUrl) {
        this.productMainImgUrl = productMainImgUrl;
    }

    public Long getInventory() {
        return inventory;
    }

    public void setInventory(Long inventory) {
        this.inventory = inventory;
    }

    public Date getLastUpdateTime() {
        return lastUpdateTime;
    }

    public void setLastUpdateTime(Date lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }
}
